/**
 * Witontek.com.
 * Copyright (c) 2012-2017 All Rights Reserved.
 */
package test.string;

/**
 * 
 * @author Long
 * @version $Id: StringCompare.java, v 0.1 2017年3月30日 下午1:51:03  xiaolong.ma  Exp $
 */
public class StringCompare {

    /**
     * 
     * @param args
     */
    public static void main(String[] args) {
        String s1 = "201703066";
        String s2 = "20170306";
        System.out.println(s1.compareTo(s2));

    }

}
